﻿using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;

namespace ToolExcelPub
{
    public static partial class XTool
    {
        //文件列表
        //<文件路径，文件信息>
        public static Dictionary<string, XFileInfo> DictXFileInfo = new Dictionary<string, XFileInfo>();

        //公共枚举
        //<枚举名，枚举列表>
        public static Dictionary<string, Dictionary<string, string>> DictDictEnumPub = new Dictionary<string, Dictionary<string, string>>();
        //<枚举名，枚举注释>
        public static Dictionary<string, string> DictDictEnumPubDesc = new Dictionary<string, string>();

        //表格里的ID反向枚举
        //<枚举名，枚举列表>
        public static Dictionary<string, Dictionary<string, string>> DictDictEnumPageId = new Dictionary<string, Dictionary<string, string>>();

        //表格里的枚举
        //<枚举名，枚举列表>
        public static Dictionary<string, Dictionary<string, string>> DictDictEnumPage = new Dictionary<string, Dictionary<string, string>>();

        //公共类
        //<类名，类数据>
        public static Dictionary<string, XPclassInfo> DictXPclassInfo = new Dictionary<string, XPclassInfo>();

        //文件读取
        //<文件名，页>
        public static Dictionary<string, XPageInfo> DictPages = new Dictionary<string, XPageInfo>();
        //<文件，页>
        public static ConcurrentDictionary<string, List<string>> DictFilePages = new ConcurrentDictionary<string, List<string>>();

    }
}
